package com.shxy.rlzy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 
 * </p>
 *
 * @author tanhao
 * @since 2021-09-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("emp_depart")
public class Depart extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "名称不能为空")
    private String name;
    private boolean hasBonus;       // 是否参与绩效分配
    private double bonusRemain;     // 剩余绩效总额
    private Long clerkId;           // 工资员编号
    @NotBlank(message = "说明不能为空")
    private String remark;

}
